import java.util.Arrays;
import java.util.TreeMap;

public class main3 {
    public static void main(String[] args) {
        Student[] arr = new Student[]{new Student("sdd",123),new Student("as",54),new Student("dsfsa",212)};
        System.out.println(Arrays.toString(arr));
        Arrays.sort(arr);
        System.out.println("------------------------------------");
        System.out.println(Arrays.toString(arr));


    }



}
